package com.satchi.hib.pojo;

import java.io.Serializable;

/**
 * FinUser entity. @author MyEclipse Persistence Tools
 */

public class FinUser implements Serializable {

	// Fields

	private Integer uid;
	private String uname;
	private String upwd;
	private FinRole role;
	private String department;

	// Constructors

	/** default constructor */
	public FinUser() {
	}

	/** full constructor */
	public FinUser(String uname, String upwd, FinRole role) {
		this.uname = uname;
		this.upwd = upwd;
		this.role = role;
	}

	// Property accessors

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUpwd() {
		return this.upwd;
	}

	public void setUpwd(String upwd) {
		this.upwd = upwd;
	}

	public FinRole getRole() {
		return role;
	}

	public void setRole(FinRole role) {
		this.role = role;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

}